else
msg = "Invalid token";
- g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, msg);
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "%s", msg);
return NULL;
}
const char *detail = response_get_detail (response);
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- detail ? detail : soup_status_get_phrase (status));
+ "%s", detail ? detail : soup_status_get_phrase (status));
return NULL;
}
const char *detail = response_get_detail (response);
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- detail ? detail : soup_status_get_phrase (status));
+ "%s", detail ? detail : soup_status_get_phrase (status));
return FALSE;
}